package entity.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-21
 */
@Getter
@Setter
@TableName("payment_record")
public class PaymentRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "sa_id", type = IdType.AUTO)
    private Integer saId;

    /**
     * 人员ID
     */
    @TableField("acc_id")
    private Integer accId;

    /**
     * 社保方案
     */
    @TableField("social_name")
    private String socialName;

    /**
     * 公积金方案
     */
    @TableField("accum_name")
    private String accumName;

    /**
     * 社保基数
     */
    @TableField("social_ cardinal")
    private Double socialcardinal;

    /**
     * 公积金基数
     */
    @TableField("accum_cardinal")
    private Double accumCardinal;

    /**
     * 个人社保缴费
     */
    @TableField("individualsocial_money")
    private String individualsocialMoney;

    /**
     * 企业社保缴费
     */
    @TableField("enterprisesocial_money")
    private String enterprisesocialMoney;

    /**
     * 个人公积金缴费
     */
    @TableField("individualaccum_money")
    private String individualaccumMoney;

    /**
     * 企业公积金缴费
     */
    @TableField("enterpriseaccum_money")
    private String enterpriseaccumMoney;

    /**
     * 月份
     */
    @TableField("mounth")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date mounth;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;


}
